package com.springcloudalibaba.openfeign.controller;

import com.springcloudalibaba.openfeign.service.OpenFeignTestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class OpenFeignTestController {
    @Resource
    private OpenFeignTestService openFeignTestService;

    @RequestMapping("/openFeignTest")
    public String openFeignTest() {
        return openFeignTestService.openFeignProviderTest();
    }
}
